﻿using Model;
using Model.DTO.Comment;
using Model.DTO.Public.GetList;
using Model.DTO.Public.OperateId;

namespace BLL.Interface
{
    /// <summary>
    /// 评论业务逻辑层接口
    /// </summary>
    public interface ICommentBLL
    {
        /// <summary>
        /// 添加评论
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<ResponseMessage> AddComment(AddCommentDTO param);
        /// <summary>
        /// 删除评论
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<ResponseMessage> DeleteComment(OperateIdDTO_LONG param);
        /// <summary>
        /// 修改评论
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<ResponseMessage> EditComment(EditCommentDTO param);
        /// <summary>
        /// 获取评论列表
        /// </summary>
        /// <param name="param"></param>
        /// <returns></returns>
        Task<ResponseMessage> GetCommentList(GetListDTO param);
    }
}
